package com.cdh.edu.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ChapterVo {
    @ApiModelProperty(value = "章节ID")
    private String id;

    @ApiModelProperty(value = "章节标题")
    private String title;

    private Integer sort;

    /**
     * 小节
     */
    List<VideoVo> children = new ArrayList<>();
}
